@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
*{
    font-family: 'Quicksand', sans-serif;
}
body{
    margin: 0;
}
nav, header, main, footer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
section{
    display: flex;
    width: 1000px;
}
/* #region Nav */
nav{
    position: relative;
    z-index: 10;
    box-shadow: 0px 5px 20px 5px rgba(225, 225, 225, 0.45);
    background-color: #fff;
}
nav section{
    justify-content: space-between;
    align-items: center;
    width: 1000px;
}
nav img{
    width: 150px;
    z-index: 1;
}
nav a{
    height: 150px;
    cursor: pointer;
}
nav a:hover{
    filter: brightness(1);
}
.tab{
    position: relative;
    height: 150px;
    width: auto;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: right;
    cursor: pointer;
}
h3{
    font-size: 18px;
}
#menu, .menu_folder{
    position: absolute;
    right: 0px;
    top: 150px;
    background-color: #2f2789;
    border-radius: 8px;
    display: none;
}
.menu_tab{
    width: 125px;
    text-align: center;
    background-color: #3f32c6;
    padding: 10px;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    border: 5px solid #2f2789;
    position: relative;
    transition: background-color 0.2s ease;
}
.menu_tab .menu_folder{
    top: -5px;
    right: 150px;
    background-color: #f89f6c;
    display: none;
}
.menu_tab .menu_folder .menu_tab{
    background-color: #faae81;
    border: 5px solid #f89f6c;
}
.menu_tab:hover{
    background-color: #493be9;
}
.menu_tab .menu_folder .menu_tab:hover{
    background-color: #fec8a9;
}
.tab:hover #menu{
    display: block;
}
.menu_tab:hover .menu_folder{
    display: block;
}
#nav_right{
    font-weight: 700;
    display: flex;
    font-size: 18px;
}
#nav_right > div{
    display: flex;
    align-items: center;
    padding-left: 30px;
    cursor: pointer;
}
/* #endregion Nav */
/* #region Header */
header section{
    padding: 25px;
}
header section{
    align-items: center;
    justify-content: center;
}
header img, h1{
    width: 500px;
    height: auto;
    margin: 0;
}
h1{
    font-weight: 500;
    padding-right: 50px;
    box-sizing: border-box;
    font-size: 22px;
}
/* #endregion */
/* #region Main */
#login{
    align-items: center;
    justify-content: center;
}
h2{
    margin-top: 0px;
    font-weight: 500;
    margin: 0;
}
form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 24px;
    padding: 16px;
    background-color: #f7f7f7;
    border-radius: 16px;
    text-align: center;
}
form input{
    width: 240px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 16px;
    outline: none;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px;
}
form input[type="submit"]{
    background-color: #f89f6c;
    color: white;
    font-weight: 700;
    transition: filter 0.2s ease;
    cursor: pointer;
}
form input[type="submit"]:hover{
    filter: brightness(1.2);
}
form p{
    font-weight: 700;
    margin: 8px;
}
.error_container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
}
.error{
    color: #ff3232;
    margin: 0px;
}
#gallery{
    flex-direction: column;
}
#pictures{
    display: grid;
    column-gap: 20px;
    row-gap: 20px;
    grid-template-columns: 235px 235px 235px 235px;
    margin-bottom: 25px;
}
.picture_opener{
    width: 235px;
    height: 235px;
    background-image: url("../StreamingAssets/img/6/pictures/1.png");
    background-size: auto 500px;
    border-radius: 25px;
    background-position: center;
    box-sizing: border-box;
    transition: background-size 0.2s ease-in-out;
    cursor: pointer;
}
.picture_opener:hover{
    background-size: auto 550px;
}
h4{
    font-size: 24px;
    color: #2f2789;
}
#gallery_main{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff44;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.gallery_button{
    left: calc(10vw - 75px);
}
.gallery_button, #close{
    position: absolute;
    height: 150px;
    transition: filter 0.2s ease-in-out;
    cursor: pointer;
}
.gallery_button:hover{
    filter: brightness(1.5);
}
#next{
    left: calc(90vw - 75px);
}
#close{
    top: 0px;
    right: 0px;
    cursor: pointer;
}
#close:hover{
    filter: brightness(2.5);
}
#preview{
    border: 20px solid #fff;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.01);
}
#level{
    flex-direction: column;
    padding-bottom: 25px;
}
#games p{
    font-weight: 600;
}
#games input{
    margin: 4px;
    border: none;
    outline: none;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700;
    color: #f7f7f7;
    cursor: pointer;
}
#apply{
    display: flex;
    align-items: center;
    justify-content: center;
}
#apply div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 24px;
    padding: 16px;
    background-color: #f7f7f7;
    border-radius: 16px;
    text-align: center;
    width: 400px;
}
#apply h2{
    margin-bottom: 16px;
}
#apply input, textarea{
    width: 300px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 16px;
    outline: none;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px;
}
#apply input[type="button"]{
    background-color: #f89f6c;
    color: white;
    font-weight: 700;
    transition: filter 0.2s ease;
    cursor: pointer;
}
#apply input[type="button"]:hover{
    filter: brightness(1.2);
}
textarea{
    resize: none;
    height: 80px !important;
}
iframe{
    position: absolute;
    top: 50px;
    height: calc(100vh - 50px);
    border: none;
    outline: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    z-index: 9;
}
iframe::-webkit-scrollbar{
    display: none;
}
/* #endregion */
/* #region Footer */
footer{
    background-color: #f7f7f7;
}
footer section{
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-top: 4px solid #e0e0e0;
    padding-bottom: 20px;
}
footer img{
    width: 100px;
}
footer p{
    margin: 8px;
    font-weight: bold;
    color: #111;
}
a, a:hover, a:visited, a:active{
    color: inherit;
    text-decoration: none;
    transition: filter 0.2s;
}
a:hover{
    filter: brightness(2);
}
#socials{
    margin: 8px;
}
.demo-icon{
    cursor: pointer;
    transition: color 0.2s;
    font-size: 24px;
}
.icon-globe:hover{
    color: #efed00;
}
.icon-facebook-rect:hover{
    color: #f89f6c;
}
/* #endregion */
#gigachad{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 2048;
}